// @ts-ignore

/* eslint-disable */
import { request } from 'umi';

/** 模糊查询企业列表 GET /api/enterprise */
export async function fuzzyQueryEnterprises(params, options) {

    console.log(params, options)
    return request('/api/mq/enterprise', {
        method: 'GET',
        params: { ...params },
        ...(options || {}),
    });
}

/** 获取企业详细信息 GET /api/enterprise/id */
export async function getEnterprisesDetails(params, options) {

    console.log('getEnterprisesDetails,Id:', params)

    return request('/api/mq/enterprise', {
        method: 'GET',
        params: { ...params },
        ...(options || {}),
    });
}